Replace a few more fallthrough comments
authorTimm Bäder <mail@baedert.org>
Thu, 12 Mar 2020 07:32:03 +0000 (08:32 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 12 Mar 2020 07:32:03 +0000 (08:32 +0100)
gtk/gtkgesture.c
gtk/gtktext.c

index 9783373343902c9bf161ad3964f3ccbc8e0f2a18..633c1fa3e7d7d400a41155bc85dc7f2038fc9829 100644 (file)
@@ -1641,7 +1641,7 @@ _gtk_gesture_get_pointer_emulating_sequence (GtkGesture        *gesture,
         case GDK_TOUCH_END:
           if (!gdk_touch_event_get_emulating_pointer (data->event))
             continue;
-          /* Fall through */
+          G_GNUC_FALLTHROUGH;
         case GDK_BUTTON_PRESS:
         case GDK_BUTTON_RELEASE:
         case GDK_MOTION_NOTIFY:
index b8fbf480078f830902c4e99141f59f5dcd09af65..b052cebb62d84c12c75e7fc06174acf4626a33cd 100644 (file)
@@ -3631,7 +3631,7 @@ gtk_text_move_cursor (GtkText         *self,
         case GTK_MOVEMENT_WORDS:
           if (priv->resolved_dir == PANGO_DIRECTION_RTL)
             count *= -1;
-          /* Fall through */
+          G_GNUC_FALLTHROUGH;
 
         case GTK_MOVEMENT_LOGICAL_POSITIONS:
           if (count < 0)